import request from "@/api/request";

// 获取首页教师和课程类型列表
export function getAllLessonTypeAndTeacherApi() {
    return request({
        url: 'edu/getAllLessonTypeAndTeacher',
        method: 'get'
    })
}
// 获取课程列表
export function getLessonListApi(params: object) {
    return request({
        url: 'edu/getLessonList',
        method: 'get',
        params
    })
}
